﻿using BootstrapBlazor.Components;

namespace LaserMark.Components.Events;

/// <summary>
/// 事件总线消息
/// </summary>
public class RibbonTabEventMessage
{
    /// <summary>
    /// 事件源
    /// </summary>
    public RibbonTabItem TabItem { get; }

    /// <summary>
    /// 额外数据
    /// </summary>
    public object? Payload { get; set; }

    /// <summary>
    /// 构造函数
    /// </summary>
    /// <param name="item"></param>
    public RibbonTabEventMessage(RibbonTabItem item)
    {
        TabItem = item;
    }
}
